import request from '@/utils/request'
import defaultSettings from '@/settings'

export const apiUrlConfig = {
    queryUrl: `${defaultSettings.ctx.cnapsApp}/bsPubliccontrol/ccpcMaintainByHand/CcpcMaintainEntry/search`,
}

export function detailsQuery(data) {
    return request({
        url: `${defaultSettings.ctx.cnapsApp}/bsPubliccontrol/ccpcMaintainByHand/CcpcMaintainEntry/detail?ccpcNodecode=${data.ccpcNodecode}&sysCode=${data.sysCode}`,
        method: 'get',
    })
}
// 审批接口
export function submit(data) {
    return request({
        url: `${defaultSettings.ctx.cnapsApp}/bsPubliccontrol/ccpcMaintainByHand/CcpcMaintainEntry/save`,
        method: 'post',
        data: data
    })
}
